/**
 * 社团接口
 */
import http from "@/utils/http";


/**
 * @description: 社团列表
 * @param {*} data
 */
export const clubList = data => {
    return http({
        url: '/backend/Clubs/list',
        method: 'POST',
        data,
    })
}
/**
 * @description: 新增/编辑-社团
 * @param {*} data
 */
export const addClub = data => {
    return http({
        url: '/backend/clubs/add',
        method: 'POST',
        data,
    })
}
/**
 * @description: 社团详情
 * @param {*} data
 */
export const clubDetail = data => {
    return http({
        url: '/backend/clubs/detail',
        method: 'POST',
        data,
    })
}
/**
 * @description: 删除社团
 * @param {*} data
 */
export const delClub = data => {
    return http({
        url: '/backend/Clubs/del',
        method: 'POST',
        data,
    })
}
/**
 * @description: 社团成员列表/社团成员审核列表
 * @param {*} data
 */
export const clubMemberList = data => {
    return http({
        url: '/backend/ClubsMember/list',
        method: 'POST',
        data,
    })
}
/**
 * @description: 社团成员审核
 * @param {*} data
 */
export const clubMemberCheck = data => {
    return http({
        url: '/backend/ClubsMember/Auditing',
        method: 'POST',
        data,
    })
}
/**
 * @description: 添加社团成员
 * @param {*} data
 */
export const addClubMember = data => {
    return http({
        url: '/backend/ClubsMember/add',
        method: 'POST',
        data,
    })
}
/**
 * @description: 删除社团成员
 * @param {*} data
 */
export const delClubMember = data => {
    return http({
        url: '/backend/ClubsMember/del',
        method: 'POST',
        data,
    })
}